home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / resources / templates / external-playback < prev    next >
Encoding:
Text File  |  2007-11-12  |  2.1 KB  |  51 lines

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml"
  4.       eventCookie="@@@eventCookie@@@" dtvPlatform="@@@dtvPlatform@@@">
  5.  
  6. <head>
  7.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8.     <title>Miro - External Playback Template</title>
  9.  
  10.     <link href="resource:css/external.css" rel="stylesheet" type="text/css" />
  11.     <link href="resource:css/video-info.css" rel="stylesheet" type="text/css" />
  12.  
  13.     <t:include filename="dynamic.js" />
  14.     <t:include filename="external.js" />
  15.  
  16.     <t:execOnLoad><![CDATA[
  17. this = app.controller.videoInfoItem
  18. thisItemView = views.items.filter(lambda x: x.getID() == this.getID())
  19. app.controller.videoInfoItem = None
  20. import os.path
  21. import platformutils
  22. filename = platformutils.filenameToUnicode(os.path.basename(this.getFilename()))
  23. ]]></t:execOnLoad>
  24.     <t:execOnUnload><![CDATA[
  25. thisItemView.unlink()
  26. import os.path
  27. ]]></t:execOnUnload>
  28.  
  29. </head>
  30.  
  31. <body onload="startCountdown(@@@this.getID()@@@)">
  32.     <div id="external-container-basic">
  33.         <span i18n:translate="">Miro can't play this file.  You may be able to open it with a different program.<br /><br /><strong>Filename:</strong> <span i18n:name="filename" t:replace="filename"/><br /><strong>File type:</strong> <span i18n:name="format" t:replace="this.getFormat(emptyForUnknown=False)"/></span><br /><a style="color: white;" href="javascript:revealItem(@@@this.getID()@@@);"><span i18n:translate="">REVEAL FILE</span></a>
  34.  
  35. <br style="clear: both;" />
  36.         <a id="external-button-left" href="javascript:playItemExternally(@@@this.getID()@@@)">
  37.             <span i18n:translate="">Play Externally</span>
  38.         </a>
  39.         
  40.         <a id="external-button-right" href="javascript:skipItem(@@@this.getID()@@@)">
  41.             <span i18n:translate="">Skip >> <b i18n:name="countdown" id="countdown" /></span>
  42.         </a>
  43.     </div>
  44.     
  45.     <div id="embedded-video-info">
  46.         <div id="video_info_area"><t:includeTemplate filename="video-info" /></div>
  47.     </div>
  48. </body>
  49.  
  50. </html>
  51.